From ae76b4fdb7dda8b13e5dbbe980421517c1649efb Mon Sep 17 00:00:00 2001 From: Marcin Maj Date: Fri, 7 Nov 2025 07:29:05 +0100 Subject: [PATCH] libid3tag: require cmake >= 3.10 due to removed legacy support Link: https://github.com/openwrt/packages/issues/27607 Link: https://github.com/openwrt/openwrt/commit/1b48ebd31c28f5b2ad3f964c25f34d33badbb979 Signed-off-by: Marcin Maj --- libs/libid3tag/Makefile | 2 +- .../libid3tag/patches/001-cmake-version.patch | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 libs/libid3tag/patches/001-cmake-version.patch diff --git a/libs/libid3tag/Makefile b/libs/libid3tag/Makefile index e7d3e070b7..49b1e45905 100644 --- a/libs/libid3tag/Makefile +++ b/libs/libid3tag/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libid3tag PKG_VERSION:=0.16.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://codeberg.org/tenacityteam/libid3tag.git diff --git a/libs/libid3tag/patches/001-cmake-version.patch b/libs/libid3tag/patches/001-cmake-version.patch new file mode 100644 index 0000000000..3ab1eed652 --- /dev/null +++ b/libs/libid3tag/patches/001-cmake-version.patch @@ -0,0 +1,20 @@ +From eee94b22508a066f7b9bc1ae05d2d85982e73959 Mon Sep 17 00:00:00 2001 +From: heitbaum +Date: Thu, 1 May 2025 05:34:30 +0000 +Subject: [PATCH] Allow build with CMake 4.0.0 + +CMake 4.0.0 deprecates CMake syntax < 3.10. Update to using a minimum of 3.10. + +ref: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.0) ++cmake_minimum_required(VERSION 3.10) + project(id3tag VERSION 0.16.3) + + option(BUILD_SHARED_LIBS "Build dynamic library" ON) -- 2.30.2